public class Main {
    public static void main(String[] args) {
        // 使用多态创建对象
        BookInterface book = new Book();
        book.bookInfo("《Java 编程思想》", "Bruce Eckel", "123456789852");
        System.out.println("图书名称：" + book.inputName());
        System.out.println("图书作者：" + book.inputAuthor());
        System.out.println("图书 isbn：" + book.inputIsbn());
    }
}